'use strict';

const BaseController = require('../base');

class QualityInspectionController extends BaseController {
  static get serviceName() {
    return 'business.qualityInspection';
  }

  async getQrcode() {
    const res = await this.service.getQrcode(this.ctx.query);
    this.ctx.success(res);
  }
}

module.exports = QualityInspectionController;
